package com.heima.api.search;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.search.dtos.HistorySearchDto;
import com.heima.model.search.dtos.UserSearchDto;

/**
 * @author admin
 */
public interface ApUserSearchControllerApi {
    /**
     * @param userSearchDto
     * @return
     * @Description 查询搜索历史
     */
    ResponseResult findUserSearch(UserSearchDto userSearchDto);

    /**
     * @param dto
     * @return
     * @Description 删除搜索历史
     */
    public ResponseResult delUserSearch(HistorySearchDto dto);

}